export enum IdentityType{
  Idcard = 1 ,
  Insurance,  //枚举类型后面的值会自动加1
  Passport,
  Military,
  Other
}
export interface Identity {
  identityNo: string;
  identityType:IdentityType
}

export interface User{
  id?: string;
  email: string;
  password?: string;
  pconfirm?: string;
  name: string;
  avatar?: string;
  projectIds?: string[];
  address?: Address;
  identity?: Identity;
  dateOfBirth?: string;
}
export interface Address {
  province: string;
  city: string;
  district: string;
  street?: string;
}